<?php

namespace app\admin\model\xlzxinfo;

use think\Model;
use traits\model\SoftDelete;


class Assessment extends Model
{




    use SoftDelete;
    // 表名
    protected $name = 'mental_xlzxinfo_assessment';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    // 定义时间戳字段名
    protected $createTime = 'create_time';
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [
    ];
    



    public function user()
    {
        return $this->belongsTo('app\admin\model\User', 'user_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
}
